import { ZwUnityKitPayHubNetwork } from '@zhongwan/zw-unitykit-network';
// const baseUrl = 'https://payhub-api-dev.keyid.cn';
import { getUrl } from '../utils/index';

/**
 * @description: 获取行业列表
 * @param {*} data
 * @return {*}
 */
export const queryIndustryList = (app, data) => {
    // const url = `${baseUrl}/payhup-api/pay-center/third/industry-list`;
    const url = getUrl(app, '/payhup-api/pay-center/third/industry-list');
    const method = 'post';
    return ZwUnityKitPayHubNetwork({ url, method }, data);
};

/**
 * @description: 获取开户行列表
 * @param {*} data
 * @return {*}
 */
export const queryBankList = (app, data) => {
    // const url = `${baseUrl}/payhup-api/pay-center/third/bank-list`;
    const url = getUrl(app, '/payhup-api/pay-center/third/bank-list');
    const method = 'post';
    return ZwUnityKitPayHubNetwork({ url, method }, data);
};
